﻿/**  版本信息模板在安装目录下，可自行修改。
* Supplier.cs
*
* 功 能： N/A
* 类 名： Supplier
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2014/2/21 11:35:30   N/A    初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│　此技术信息为本公司机密信息，未经本公司书面同意禁止向第三方披露．　│
*│　版权所有：动软卓越（北京）科技有限公司　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
namespace BBPA.Model
{
	/// <summary>
	/// Supplier:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Supplier
	{
		public Supplier()
		{}
		#region Model
		private int _id;
		private int _userid;
		private string _number;
		private int _rank=0;
		private decimal _account=0M;
		private decimal _masteraccount=0M;
		private decimal _viceaccount=0M;
		private decimal _frozenaccount=0M;
		private string _name;
		private string _shortname;
		private int? _picid;
		private string _contacts;
		private string _tel;
		private string _mobile;
		private string _province;
		private string _city;
		private string _area;
		private string _address;
		private string _description;
		private bool _islatepay= false;
		private DateTime? _pafeeenddate= DateTime.Now;
		private bool _isdelivery= false;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int UserID
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Number
		{
			set{ _number=value;}
			get{return _number;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int Rank
		{
			set{ _rank=value;}
			get{return _rank;}
		}
		/// <summary>
		/// 账户金额
		/// </summary>
		public decimal Account
		{
			set{ _account=value;}
			get{return _account;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal MasterAccount
		{
			set{ _masteraccount=value;}
			get{return _masteraccount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal ViceAccount
		{
			set{ _viceaccount=value;}
			get{return _viceaccount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal FrozenAccount
		{
			set{ _frozenaccount=value;}
			get{return _frozenaccount;}
		}
		/// <summary>
		/// 名称
		/// </summary>
		public string Name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 简称
		/// </summary>
		public string ShortName
		{
			set{ _shortname=value;}
			get{return _shortname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? PicID
		{
			set{ _picid=value;}
			get{return _picid;}
		}
		/// <summary>
		/// 联系人
		/// </summary>
		public string Contacts
		{
			set{ _contacts=value;}
			get{return _contacts;}
		}
		/// <summary>
		/// 办公电话
		/// </summary>
		public string Tel
		{
			set{ _tel=value;}
			get{return _tel;}
		}
		/// <summary>
		/// 手机
		/// </summary>
		public string Mobile
		{
			set{ _mobile=value;}
			get{return _mobile;}
		}
		/// <summary>
		/// 省
		/// </summary>
		public string Province
		{
			set{ _province=value;}
			get{return _province;}
		}
		/// <summary>
		/// 市
		/// </summary>
		public string City
		{
			set{ _city=value;}
			get{return _city;}
		}
		/// <summary>
		/// 区
		/// </summary>
		public string Area
		{
			set{ _area=value;}
			get{return _area;}
		}
		/// <summary>
		/// 详细地址
		/// </summary>
		public string Address
		{
			set{ _address=value;}
			get{return _address;}
		}
		/// <summary>
		/// 简介
		/// </summary>
		public string Description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 是否：后付款
		/// </summary>
		public bool IsLatePay
		{
			set{ _islatepay=value;}
			get{return _islatepay;}
		}
		/// <summary>
		/// 联盟费到日期
		/// </summary>
		public DateTime? PAFeeEndDate
		{
			set{ _pafeeenddate=value;}
			get{return _pafeeenddate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsDelivery
		{
			set{ _isdelivery=value;}
			get{return _isdelivery;}
		}
		#endregion Model

	}
}

